home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
355
/
source
/
oops_js
/
oopsmsg3.mod
< prev
next >
Wrap
Text File
|
1990-02-02
|
3KB
|
71 lines
IMPLEMENTATION MODULE oopsmsg3; (* Ken Badertscher (KBAD) 2/23/87 *)
FROM oopsmsg1 IMPORT ErrMsgs;
PROCEDURE AssignErr3(VAR errs : ErrMsgs);
BEGIN
errs[119] := '(* ^^^operand type incompatible with / *)';
errs[120] := '(* ^^^operand type incompatible with DIV *)';
errs[121] := '(* ^^^operand type incompatible with MOD *)';
errs[122] := '(* ^^^operand type incompatible with AND *)';
errs[123] := '(* ^^^operand type incompatible with + *)';
errs[124] := '(* ^^^operand type incompatible with - *)';
errs[125] := '(* ^^^operand type incompatible with OR *)';
errs[126] := '(* ^^^operand type incompatible with relation *)';
errs[127] := '(* ^^^procedure must have level 0 *)';
errs[128] := '(* ^^^result type of P does not match that of T *)';
errs[129] :=
'(* ^^^mismatch of a parameter of P with the formal type list of T *)';
errs[130] :=
'(* ^^^procedure has fewer parameters than the formal type list *)';
errs[131] := '(* ^^^procedure has more parameters than the formal type list *)';
errs[132] := '(* ^^^assignment of a negative integer to a cardinal variable *)';
errs[133] := '(* ^^^incompatible assignment *)';
errs[134] := '(* ^^^assignment to non-variable *)';
errs[135] :=
'(* ^^^type of expression in IF, WHILE, UNTIL clause must be BOOLEAN *)';
errs[136] := '(* ^^^call of an object which is not a procedure *)';
errs[137] :=
'(* ^^^type of VAR parameter not identical to that of actual parameter *)';
errs[139] := '(* ^^^type of RETURN expression differs from procedure type *)';
errs[140] := '(* ^^^illegal type of CASE expression *)';
errs[141] := '(* ^^^step in FOR clause cannot be 0 *)';
errs[142] := '(* ^^^illegal type of control variable *)';
errs[144] := '(* ^^^incorrect type of parameter of standard procedure *)';
errs[145] := '(* ^^^this parameter should be a type identifier *)';
errs[146] := '(* ^^^string is too long *)';
errs[147] := '(* ^^^incorrect priority specification *)';
errs[150] := '(* ^^^exported identifier collides with declared identifier *)';
errs[151] := '(* ^^^(not yet implemented) *)';
errs[152] := '(* ^^^integer too small for sign inversion *)';
errs[153] := '(* ^^^set element outside word range *)';
errs[154] := '(* ^^^overflow in multipliaction *)';
errs[155] := '(* ^^^overfolow in division *)';
errs[156] := '(* ^^^division by zero, or modulus with negative value *)';
errs[157] := '(* ^^^overflow in addition *)';
errs[158] := '(* ^^^overflow in subtraction *)';
errs[159] := '(* ^^^cardinal value assigned to integer variable too large *)';
errs[160] := '(* ^^^set size too large *)';
errs[161] := '(* ^^^array size too large *)';
errs[162] := '(* ^^^address too large (compiler error?) *)';
errs[163] :=
'(* ^^^character array component cannot correspond to VAR parameter *)';
errs[164] := '(* ^^^illegal store operation (compiler error?) *)';
errs[165] := '(* ^^^set elements must be constants *)';
errs[166] := '(* ^^^expression too complex (stack overflow) *)';
errs[167] :=
'(* ^^^double precision multiply and divide are not implemented *)';
errs[168] := '(* ^^^output file not opened (directory full?) *)';
errs[169] := '(* ^^^output incomplete (disk full?) *)';
errs[170] := '(* ^^^too many external references *)';
errs[171] := '(* ^^^too many strings *)';
errs[172] := '(* ^^^program too long *)';
END AssignErr3;
END oopsmsg3.